package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * @author lipeiyi
 */
@ApiModel( value ="t_xz_archiveTag" )
@Table( name ="t_xz_archiveTag" )
public class ArchiveTag  implements Serializable {


	/**
	 * id 健康档案标签
	 */
   	@Column(name = "archives_tag_id" )
	@ApiModelProperty( value="id 健康档案标签")
	private Integer archivesTagId;

   	@Column(name = "tag_name" )
	@ApiModelProperty( value="标签名称")
	private String tagName;

   	@Column(name = "parent_id" )
	@ApiModelProperty( value="父级id")
	private Integer parentId;

       @Transient
       @ApiModelProperty( value="子级集合")
       private List<ArchiveTag> list;

  public Integer getArchivesTagId() {
    return archivesTagId;
  }

  public void setArchivesTagId(Integer archivesTagId) {
    this.archivesTagId = archivesTagId;
  }


  public String getTagName() {
    return tagName;
  }

  public void setTagName(String tagName) {
    this.tagName = tagName;
  }


  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }



    public List<ArchiveTag> getList() {
        return list;
    }

    public void setList(List<ArchiveTag> list) {
        this.list = list;
    }
}
